<template>
    <div :style="{backgroundColor: color , height:height+'px'}"></div>
</template>

<script>
export default {
    name: "Devider",
    props:{//属性
        height: {
            type: Number,
            default: 10
        },
        color: {
            type: String,
            default: '#ccc'
        }
    }
}
</script>